package result;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import entity.User;

public class Freemark {
	private String title;
	private String hello;
	private List<User> users=new ArrayList<User>();
	private Date dt;
	private double price;
	public String execute(){
		title="freemarker 示例";
		hello="hello freemarker";
		for(int i=0;i<10;i++){
			users.add(new User("zhang"+i,15+i));
		}
		dt=new Date();
		price=88888.88;
		return "success";
	}
	
	public String getTitle() {
		return title;
	}
	public String getHello() {
		return hello;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setHello(String hello) {
		this.hello = hello;
	}

	public List<User> getUsers() {
		return users;
	}

	public Date getDt() {
		return dt;
	}

	public double getPrice() {
		return price;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}

	public void setPrice(double price) {
		this.price = price;
	}
	
}
